package br.com.membros.database.services;

import javax.inject.Inject;
import javax.inject.Named;

import br.com.membros.database.entities.MembroEntity;
import br.com.membros.database.interfaces.IMembroDao;
import br.com.membros.database.utils.GenericService;
import br.com.membros.database.utils.interfaces.IGenericDao;
import br.com.membros.utils.database.beans.MembroBean;
import br.com.membros.utils.database.interfaces.IMembroService;

@Named
public class MembroService extends GenericService<MembroBean, MembroEntity, Long> implements IMembroService {

	@Inject
	private IMembroDao dao;
	
	@Override
	protected IGenericDao<MembroEntity, Long> getConcreteDao() {
		return dao;
	}

}